Optimal. Leaf size=148 \[ -\frac {a^3 \coth ^5(c+d x)}{5 d}+\frac {2 a^3 \coth ^3(c+d x)}{3 d}-\frac {a^2 (a+3 b) \coth (c+d x)}{d}+\frac {b^2 (24 a+11 b) \sinh (c+d x) \cosh (c+d x)}{16 d}-\frac {1}{16} b^2 x (24 a+5 b)+\frac {b^3 \sinh (c+d x) \cosh ^5(c+d x)}{6 d}-\frac {13 b^3 \sinh (c+d x) \cosh ^3(c+d x)}{24 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.36, antiderivative size = 148, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {3217, 1259, 1805, 1802, 207} \[ -\frac {a^2 (a+3 b) \coth (c+d x)}{d}-\frac {a^3 \coth ^5(c+d x)}{5 d}+\frac {2 a^3 \coth ^3(c+d x)}{3 d}+\frac {b^2 (24 a+11 b) \sinh (c+d x) \cosh (c+d x)}{16 d}-\frac {1}{16} b^2 x (24 a+5 b)+\frac {b^3 \sinh (c+d x) \cosh ^5(c+d x)}{6 d}-\frac {13 b^3 \sinh (c+d x) \cosh ^3(c+d x)}{24 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 207
Rule 1259
Rule 1802
Rule 1805
Rule 3217
Rubi steps
\begin {align*} \int \text {csch}^6(c+d x) \left (a+b \sinh ^4(c+d x)\right )^3 \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (a-2 a x^2+(a+b) x^4\right )^3}{x^6 \left (1-x^2\right )^4} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac {b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}-\frac {\operatorname {Subst}\left (\int \frac {-6 a^3+30 a^3 x^2-6 a^2 (10 a+3 b) x^4+\left (60 a^3+54 a^2 b+b^3\right ) x^6-6 (5 a-b) (a+b)^2 x^8+6 (a+b)^3 x^{10}}{x^6 \left (1-x^2\right )^3} \, dx,x,\tanh (c+d x)\right )}{6 d}\\ &=-\frac {13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac {b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}+\frac {\operatorname {Subst}\left (\int \frac {24 a^3-96 a^3 x^2+72 a^2 (2 a+b) x^4-3 \left (32 a^3+48 a^2 b-3 b^3\right ) x^6+24 (a+b)^3 x^8}{x^6 \left (1-x^2\right )^2} \, dx,x,\tanh (c+d x)\right )}{24 d}\\ &=\frac {b^2 (24 a+11 b) \cosh (c+d x) \sinh (c+d x)}{16 d}-\frac {13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac {b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}-\frac {\operatorname {Subst}\left (\int \frac {-48 a^3+144 a^3 x^2-144 a^2 (a+b) x^4+3 \left (16 a^3+48 a^2 b+24 a b^2+5 b^3\right ) x^6}{x^6 \left (1-x^2\right )} \, dx,x,\tanh (c+d x)\right )}{48 d}\\ &=\frac {b^2 (24 a+11 b) \cosh (c+d x) \sinh (c+d x)}{16 d}-\frac {13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac {b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}-\frac {\operatorname {Subst}\left (\int \left (-\frac {48 a^3}{x^6}+\frac {96 a^3}{x^4}-\frac {48 a^2 (a+3 b)}{x^2}-\frac {3 b^2 (24 a+5 b)}{-1+x^2}\right ) \, dx,x,\tanh (c+d x)\right )}{48 d}\\ &=-\frac {a^2 (a+3 b) \coth (c+d x)}{d}+\frac {2 a^3 \coth ^3(c+d x)}{3 d}-\frac {a^3 \coth ^5(c+d x)}{5 d}+\frac {b^2 (24 a+11 b) \cosh (c+d x) \sinh (c+d x)}{16 d}-\frac {13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac {b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}+\frac {\left (b^2 (24 a+5 b)\right ) \operatorname {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\tanh (c+d x)\right )}{16 d}\\ &=-\frac {1}{16} b^2 (24 a+5 b) x-\frac {a^2 (a+3 b) \coth (c+d x)}{d}+\frac {2 a^3 \coth ^3(c+d x)}{3 d}-\frac {a^3 \coth ^5(c+d x)}{5 d}+\frac {b^2 (24 a+11 b) \cosh (c+d x) \sinh (c+d x)}{16 d}-\frac {13 b^3 \cosh ^3(c+d x) \sinh (c+d x)}{24 d}+\frac {b^3 \cosh ^5(c+d x) \sinh (c+d x)}{6 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.08, size = 110, normalized size = 0.74 \[ \frac {5 b^2 (9 (16 a+5 b) \sinh (2 (c+d x))-288 a c-288 a d x-9 b \sinh (4 (c+d x))+b \sinh (6 (c+d x))-60 b c-60 b d x)-64 a^2 \coth (c+d x) \left (3 a \text {csch}^4(c+d x)-4 a \text {csch}^2(c+d x)+8 a+45 b\right )}{960 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.88, size = 768, normalized size = 5.19 \[ \frac {5 \, b^{3} \cosh \left (d x + c\right )^{11} + 55 \, b^{3} \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{10} - 70 \, b^{3} \cosh \left (d x + c\right )^{9} + 15 \, {\left (55 \, b^{3} \cosh \left (d x + c\right )^{3} - 42 \, b^{3} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{8} + 20 \, {\left (36 \, a b^{2} + 25 \, b^{3}\right )} \cosh \left (d x + c\right )^{7} + 70 \, {\left (33 \, b^{3} \cosh \left (d x + c\right )^{5} - 84 \, b^{3} \cosh \left (d x + c\right )^{3} + 2 \, {\left (36 \, a b^{2} + 25 \, b^{3}\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{6} - {\left (1024 \, a^{3} + 5760 \, a^{2} b + 3600 \, a b^{2} + 1625 \, b^{3}\right )} \cosh \left (d x + c\right )^{5} + 8 \, {\left (128 \, a^{3} + 720 \, a^{2} b - 15 \, {\left (24 \, a b^{2} + 5 \, b^{3}\right )} d x\right )} \sinh \left (d x + c\right )^{5} + 5 \, {\left (330 \, b^{3} \cosh \left (d x + c\right )^{7} - 1764 \, b^{3} \cosh \left (d x + c\right )^{5} + 140 \, {\left (36 \, a b^{2} + 25 \, b^{3}\right )} \cosh \left (d x + c\right )^{3} - {\left (1024 \, a^{3} + 5760 \, a^{2} b + 3600 \, a b^{2} + 1625 \, b^{3}\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{4} + 20 \, {\left (256 \, a^{3} + 864 \, a^{2} b + 324 \, a b^{2} + 125 \, b^{3}\right )} \cosh \left (d x + c\right )^{3} - 40 \, {\left (128 \, a^{3} + 720 \, a^{2} b - 15 \, {\left (24 \, a b^{2} + 5 \, b^{3}\right )} d x - 2 \, {\left (128 \, a^{3} + 720 \, a^{2} b - 15 \, {\left (24 \, a b^{2} + 5 \, b^{3}\right )} d x\right )} \cosh \left (d x + c\right )^{2}\right )} \sinh \left (d x + c\right )^{3} + 5 \, {\left (55 \, b^{3} \cosh \left (d x + c\right )^{9} - 504 \, b^{3} \cosh \left (d x + c\right )^{7} + 84 \, {\left (36 \, a b^{2} + 25 \, b^{3}\right )} \cosh \left (d x + c\right )^{5} - 2 \, {\left (1024 \, a^{3} + 5760 \, a^{2} b + 3600 \, a b^{2} + 1625 \, b^{3}\right )} \cosh \left (d x + c\right )^{3} + 12 \, {\left (256 \, a^{3} + 864 \, a^{2} b + 324 \, a b^{2} + 125 \, b^{3}\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{2} - 10 \, {\left (1024 \, a^{3} + 1152 \, a^{2} b + 360 \, a b^{2} + 131 \, b^{3}\right )} \cosh \left (d x + c\right ) + 40 \, {\left ({\left (128 \, a^{3} + 720 \, a^{2} b - 15 \, {\left (24 \, a b^{2} + 5 \, b^{3}\right )} d x\right )} \cosh \left (d x + c\right )^{4} + 256 \, a^{3} + 1440 \, a^{2} b - 30 \, {\left (24 \, a b^{2} + 5 \, b^{3}\right )} d x - 3 \, {\left (128 \, a^{3} + 720 \, a^{2} b - 15 \, {\left (24 \, a b^{2} + 5 \, b^{3}\right )} d x\right )} \cosh \left (d x + c\right )^{2}\right )} \sinh \left (d x + c\right )}{1920 \, {\left (d \sinh \left (d x + c\right )^{5} + 5 \, {\left (2 \, d \cosh \left (d x + c\right )^{2} - d\right )} \sinh \left (d x + c\right )^{3} + 5 \, {\left (d \cosh \left (d x + c\right )^{4} - 3 \, d \cosh \left (d x + c\right )^{2} + 2 \, d\right )} \sinh \left (d x + c\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.46, size = 286, normalized size = 1.93 \[ \frac {5 \, b^{3} e^{\left (6 \, d x + 6 \, c\right )} - 45 \, b^{3} e^{\left (4 \, d x + 4 \, c\right )} + 720 \, a b^{2} e^{\left (2 \, d x + 2 \, c\right )} + 225 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} - 120 \, {\left (24 \, a b^{2} + 5 \, b^{3}\right )} {\left (d x + c\right )} + 5 \, {\left (528 \, a b^{2} e^{\left (6 \, d x + 6 \, c\right )} + 110 \, b^{3} e^{\left (6 \, d x + 6 \, c\right )} - 144 \, a b^{2} e^{\left (4 \, d x + 4 \, c\right )} - 45 \, b^{3} e^{\left (4 \, d x + 4 \, c\right )} + 9 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} - b^{3}\right )} e^{\left (-6 \, d x - 6 \, c\right )} - \frac {256 \, {\left (45 \, a^{2} b e^{\left (8 \, d x + 8 \, c\right )} - 180 \, a^{2} b e^{\left (6 \, d x + 6 \, c\right )} + 80 \, a^{3} e^{\left (4 \, d x + 4 \, c\right )} + 270 \, a^{2} b e^{\left (4 \, d x + 4 \, c\right )} - 40 \, a^{3} e^{\left (2 \, d x + 2 \, c\right )} - 180 \, a^{2} b e^{\left (2 \, d x + 2 \, c\right )} + 8 \, a^{3} + 45 \, a^{2} b\right )}}{{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}^{5}}}{1920 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 126, normalized size = 0.85 \[ \frac {a^{3} \left (-\frac {8}{15}-\frac {\mathrm {csch}\left (d x +c \right )^{4}}{5}+\frac {4 \mathrm {csch}\left (d x +c \right )^{2}}{15}\right ) \coth \left (d x +c \right )-3 a^{2} b \coth \left (d x +c \right )+3 a \,b^{2} \left (\frac {\cosh \left (d x +c \right ) \sinh \left (d x +c \right )}{2}-\frac {d x}{2}-\frac {c}{2}\right )+b^{3} \left (\left (\frac {\left (\sinh ^{5}\left (d x +c \right )\right )}{6}-\frac {5 \left (\sinh ^{3}\left (d x +c \right )\right )}{24}+\frac {5 \sinh \left (d x +c \right )}{16}\right ) \cosh \left (d x +c \right )-\frac {5 d x}{16}-\frac {5 c}{16}\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.34, size = 359, normalized size = 2.43 \[ -\frac {3}{8} \, a b^{2} {\left (4 \, x - \frac {e^{\left (2 \, d x + 2 \, c\right )}}{d} + \frac {e^{\left (-2 \, d x - 2 \, c\right )}}{d}\right )} - \frac {1}{384} \, b^{3} {\left (\frac {{\left (9 \, e^{\left (-2 \, d x - 2 \, c\right )} - 45 \, e^{\left (-4 \, d x - 4 \, c\right )} - 1\right )} e^{\left (6 \, d x + 6 \, c\right )}}{d} + \frac {120 \, {\left (d x + c\right )}}{d} + \frac {45 \, e^{\left (-2 \, d x - 2 \, c\right )} - 9 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )}}{d}\right )} - \frac {16}{15} \, a^{3} {\left (\frac {5 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d {\left (5 \, e^{\left (-2 \, d x - 2 \, c\right )} - 10 \, e^{\left (-4 \, d x - 4 \, c\right )} + 10 \, e^{\left (-6 \, d x - 6 \, c\right )} - 5 \, e^{\left (-8 \, d x - 8 \, c\right )} + e^{\left (-10 \, d x - 10 \, c\right )} - 1\right )}} - \frac {10 \, e^{\left (-4 \, d x - 4 \, c\right )}}{d {\left (5 \, e^{\left (-2 \, d x - 2 \, c\right )} - 10 \, e^{\left (-4 \, d x - 4 \, c\right )} + 10 \, e^{\left (-6 \, d x - 6 \, c\right )} - 5 \, e^{\left (-8 \, d x - 8 \, c\right )} + e^{\left (-10 \, d x - 10 \, c\right )} - 1\right )}} - \frac {1}{d {\left (5 \, e^{\left (-2 \, d x - 2 \, c\right )} - 10 \, e^{\left (-4 \, d x - 4 \, c\right )} + 10 \, e^{\left (-6 \, d x - 6 \, c\right )} - 5 \, e^{\left (-8 \, d x - 8 \, c\right )} + e^{\left (-10 \, d x - 10 \, c\right )} - 1\right )}}\right )} + \frac {6 \, a^{2} b}{d {\left (e^{\left (-2 \, d x - 2 \, c\right )} - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.03, size = 511, normalized size = 3.45 \[ \frac {\frac {6\,a^2\,b}{5\,d}-\frac {2\,{\mathrm {e}}^{2\,c+2\,d\,x}\,\left (8\,a^3+9\,b\,a^2\right )}{5\,d}+\frac {18\,a^2\,b\,{\mathrm {e}}^{4\,c+4\,d\,x}}{5\,d}-\frac {6\,a^2\,b\,{\mathrm {e}}^{6\,c+6\,d\,x}}{5\,d}}{6\,{\mathrm {e}}^{4\,c+4\,d\,x}-4\,{\mathrm {e}}^{2\,c+2\,d\,x}-4\,{\mathrm {e}}^{6\,c+6\,d\,x}+{\mathrm {e}}^{8\,c+8\,d\,x}+1}-\frac {\frac {2\,\left (8\,a^3+9\,b\,a^2\right )}{15\,d}-\frac {12\,a^2\,b\,{\mathrm {e}}^{2\,c+2\,d\,x}}{5\,d}+\frac {6\,a^2\,b\,{\mathrm {e}}^{4\,c+4\,d\,x}}{5\,d}}{3\,{\mathrm {e}}^{2\,c+2\,d\,x}-3\,{\mathrm {e}}^{4\,c+4\,d\,x}+{\mathrm {e}}^{6\,c+6\,d\,x}-1}-\frac {\frac {6\,a^2\,b}{5\,d}+\frac {4\,{\mathrm {e}}^{4\,c+4\,d\,x}\,\left (8\,a^3+9\,b\,a^2\right )}{5\,d}-\frac {24\,a^2\,b\,{\mathrm {e}}^{2\,c+2\,d\,x}}{5\,d}-\frac {24\,a^2\,b\,{\mathrm {e}}^{6\,c+6\,d\,x}}{5\,d}+\frac {6\,a^2\,b\,{\mathrm {e}}^{8\,c+8\,d\,x}}{5\,d}}{5\,{\mathrm {e}}^{2\,c+2\,d\,x}-10\,{\mathrm {e}}^{4\,c+4\,d\,x}+10\,{\mathrm {e}}^{6\,c+6\,d\,x}-5\,{\mathrm {e}}^{8\,c+8\,d\,x}+{\mathrm {e}}^{10\,c+10\,d\,x}-1}-\frac {b^2\,x\,\left (24\,a+5\,b\right )}{16}+\frac {3\,b^3\,{\mathrm {e}}^{-4\,c-4\,d\,x}}{128\,d}-\frac {3\,b^3\,{\mathrm {e}}^{4\,c+4\,d\,x}}{128\,d}-\frac {b^3\,{\mathrm {e}}^{-6\,c-6\,d\,x}}{384\,d}+\frac {b^3\,{\mathrm {e}}^{6\,c+6\,d\,x}}{384\,d}-\frac {3\,b^2\,{\mathrm {e}}^{-2\,c-2\,d\,x}\,\left (16\,a+5\,b\right )}{128\,d}+\frac {3\,b^2\,{\mathrm {e}}^{2\,c+2\,d\,x}\,\left (16\,a+5\,b\right )}{128\,d}-\frac {12\,a^2\,b}{5\,d\,\left ({\mathrm {e}}^{2\,c+2\,d\,x}-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________